//
//  GetLocale.m
//  Staff
//
//  Created by caiyao on 1/14/15.
//
//

#import "GetLocale.h"

@implementation GetLocale

- (void)excute {
    // Pass app current locale to call back js function
    
    if (self.command.callbackJS == nil)
    {
        // url param is missing fail to handle
        [self excuteNonHookFoundCallback];
        return;
    }
    
    NSString *currentLocale = @"en";
    
    [self excuteCallBackJSWithParameters:currentLocale];
}

@end
